package com.sk.sk_frame_cloud.filter;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

/**
 * @Author jiaok
 * @Date 2024-01-15 17:53
 */
@Component
public class AuthFilter  implements GatewayFilter, Ordered {

    private static  final  String AUTH="Authorization";

    @Override
    public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {


        return null;
    }

    @Override
    public int getOrder() {
        return 0;
    }
}
